package com.hb.software.entity.department;

import com.hb.software.domain.BaseEntity;
import com.hb.software.entity.worker.Worker;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Accessors(chain=true)
public class Department extends BaseEntity<Long> implements Serializable {
    private String name;
    private String leader;//部门主管
    private String workerCounts;//部门人数
    private String profit;//部门总业绩
    private String attendanceNumber;//应到人数
    private String realNumber;//实到人数
    List<Worker> workers;
}
